import {createStore, applyMiddleware} from "redux";

// 异步Action的插件
import {thunk} from "redux-thunk";
import {composeWithDevTools} from 'redux-devtools-extension'

import Reducer from "./reducers";

// 暴露store
export default createStore(Reducer, composeWithDevTools(applyMiddleware(thunk)));